<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
	<title></title>
	<link rel="stylesheet" href="Public/Admin/Css/public.css" />
	<script type="text/javascript" src="Public/Admin/Js/jquery-1.7.2.min.js"></script>
	<!--<script type="text/javascript" src="Public/Admin/Js/public.js"></script>-->
	<script type="text/javascript">
		function del(cid){
			if(confirm('确定删除吗?')){
				location.href="{{'del'|U}}&cid="+cid;
			}
		}
	</script>
</head>

<body>
	<table class="table">
		<tr>
			<td class="th" colspan="20">分类列表</td>
		</tr>
		<tr class="tableTop">		
			<td class="tdLittle1">ID</td>
			<td>分类名称</td>
			<td class="tdLtitle7">操作</td>
		</tr>
		{{foreach from=$category item=c}}			
			<tr>
	
				<td>{{$c.cid}}</td>
				<td>{{$c.title}}</td>
				
				<td>
					[<a href="{{'addSonCate'|U}}&cid={{$c.cid}}">添加子分类</a>][
					<a href="{{'editCate'|U}}&cid={{$c.cid}}">修改</a>][
					<a href="javascript:del({{$c.cid}});" class="del">删除</a>]
				</td>
			</tr>
		{{/foreach}}
	</table>

</body>
</html>